package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 客服
 * </p>
 *
 * @author zs
 * @since 2019-12-19
 */
@TableName("yingbao_sys_service")
public class SysService implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 微信号
     */
    @TableField("name")
    private String name;

    /**
     * 微信二维码
     */
    @TableField("pic")
    private String pic;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    /**
     * 加入时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("upadate_time")
    private Date upadateTime;

    /**
     * 备用1
     */
    @TableField("backup1")
    private String backup1;

    /**
     * 备用2
     */
    @TableField("backup2")
    private String backup2;

    /**
     * 备用3
     */
    @TableField("backup3")
    private String backup3;

    /**
     * 备用4
     */
    @TableField("backup4")
    private Long backup4;

    /**
     * 备用5
     */
    @TableField("backup5")
    private Long backup5;

    /**
     * 备用6
     */
    @TableField("backup6")
    private Long backup6;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpadateTime() {
        return upadateTime;
    }

    public void setUpadateTime(Date upadateTime) {
        this.upadateTime = upadateTime;
    }

    public String getBackup1() {
        return backup1;
    }

    public void setBackup1(String backup1) {
        this.backup1 = backup1;
    }

    public String getBackup2() {
        return backup2;
    }

    public void setBackup2(String backup2) {
        this.backup2 = backup2;
    }

    public String getBackup3() {
        return backup3;
    }

    public void setBackup3(String backup3) {
        this.backup3 = backup3;
    }

    public Long getBackup4() {
        return backup4;
    }

    public void setBackup4(Long backup4) {
        this.backup4 = backup4;
    }

    public Long getBackup5() {
        return backup5;
    }

    public void setBackup5(Long backup5) {
        this.backup5 = backup5;
    }

    public Long getBackup6() {
        return backup6;
    }

    public void setBackup6(Long backup6) {
        this.backup6 = backup6;
    }

    @Override
    public String toString() {
        return "SysService{" +
        "id=" + id +
        ", name=" + name +
        ", pic=" + pic +
        ", version=" + version +
        ", createTime=" + createTime +
        ", upadateTime=" + upadateTime +
        ", backup1=" + backup1 +
        ", backup2=" + backup2 +
        ", backup3=" + backup3 +
        ", backup4=" + backup4 +
        ", backup5=" + backup5 +
        ", backup6=" + backup6 +
        "}";
    }
}
